<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>

	<title><?php echo $title; ?></title>

	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/style.css" />


	<script src="<?php echo base_url(); ?>assets/js/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="<?php echo base_url(); ?>assets/js/jquery-css-transform.js" type="text/javascript"></script>
	<script src="<?php echo base_url(); ?>assets/js/jquery-animate-css-rotate-scale.js" type="text/javascript"></script>

	<script type = 'text/javascript'>
	$(document).ready(function(){

			setInterval(
				function () {
					$('#sun-rays').animate({rotate: '+=0.2deg'}, 0);
				},
				10
			);
		return false;
	});
	function txt_Blur(id,text){
		if($("#"+id).val()=='') $("#"+id).val(text);
		return false;
	}
	function txt_focus(id,text){
		if($("#"+id).val()==text) $("#"+id).val("");
		return false;
	}
	</script>

</head>
<body>


<div id = "bg-container">
	<div id = "sun-rays" class = "sun-rays">
	</div>
</div>


<div id = "container">
	<div id = "top">
		<div id = "top-left">
			<ul id = "menu">
			<a href = "<?php echo base_url()?>" title = "Home"><li class = "home"></li></a>
				<a href = ""><li class = "profile"></li></a>
				<a href = "<?php echo base_url()?>testimonial" title = "Testimonial"><li class = "testi"></li></a>
				<a href = """><li class = "faq"></li></a>
				<a href = "<?php echo base_url()?>contact" title = "Contact"><li class = "contct"></li></a>
			</ul>
		</div>
		<div id = "top-right">
			<div id = "login">

				<?php echo form_open('home/validate_users');?>
					<section>
					<input type = "text" name = "email" id = "email" onblur="txt_Blur('email','Email')" onfocus="txt_focus('email','Email')" value="<?php echo !empty($cookie['email'])	?	$cookie['email'] : 'Email';?>"/>
					<input type = "password" name = "password" id = "password" onblur="txt_Blur('password','Password')" onfocus="txt_focus('password','Password')" value="<?php echo !empty($cookie['password'])	?	$cookie['password'] : 'Password';?>" />
					<input type = "image" src="<?php echo base_url();?>/assets/images/login.png" alt = "Submit" width = "64" height = "27" />
					</section> <br/><br/>
					<input type = "checkbox" name = "remember-me" <?php echo !empty($cookie['remember-me'])	?	'checked'	:	null;?>/><p><span>Remember me</span> <a href="<?php echo base_url();?>forgot_password">Forgot it?</a></p>

					<?php

							$mainObj = &get_instance();
							$login_url = $mainObj->facebookaccesslib->getFacebookLoginUrl();
					?>
					<a href="<?php echo $login_url;?>"> FACEBOOK LOGIN </a>
				<?php echo form_close(); ?>
			</div>
		</div>
	</div>

	<div id = "wrapper">
		<header>
			<div id = "flash-bg">
				<div id = "flash">
				<embed src="<?php echo base_url();?>assets/images/hearttree-animation.swf" width="550" height="380" type="application/x-shockwave-flash" wmode="transparent" menu="false" />
				</div>
			</div>
			<div id = "h-right-bg">
				<span id = "" style = "float:left; margin-left:130px;">
					<img src = "<?php echo base_url();?>assets/images/img-1.png" align = "center" alt = ""  />
				</span>

				<div id = "" style = "float:left; width:100%;">
					<div id = "video-bg">
						<img src = "<?php echo base_url();?>/assets/images/img-2.png" />
					</div>

					<div id = "register-bg">
						<a href="<?php echo base_url() ?>register"><img src = "<?php echo base_url();?>/assets/images/signup/signupimage.jpg" /></a>
							<!--section>
								<span><img src = "<?php echo base_url();?>/assets/images/signup.png" /></span>
								<input type = "text" name = "user_username" id = "user_username" onblur="txt_Blur('user_username','First Name')" onfocus="txt_focus('user_username','First Name')" value="First Name"/>
								<input type = "text" name = "user_email" id = "user_email" onblur="txt_Blur('user_email','Email')" onfocus="txt_focus('user_email','Email')" value="Email"/>
								<input type = "password" name = "user_password" id = "user_password" onblur="txt_Blur('user_password','Password')" onfocus="txt_focus('user_password','Password')" value="Password"/><br/>
								<a href="<?php echo base_url() ?>register"><input type = "image" src="<?php echo base_url();?>/assets/images/sign-up.png" alt = "Sign Up" width = "98" height = "32" /></a>
							</section-->
					</div>
				</div>

			</div>
			<div class = "clear"></div>
		</header>
